home *** CD-ROM | disk | FTP | other *** search
- /* ---------------------------------------------------------------------------------------------
- Find_icon, code for constructing icon suites for files and folders
-
- by James W. Walker
- preferred e-mail: <mailto:jwwalker@kagi.com>
- alternate e-mail: <mailto:jwwalker@aol.com>, <jim@nisus-soft.com>
- web: <http://users.aol.com/jwwalker/>
-
- File: Copy_each_icon.h
-
- Copyright ©1997 by James W. Walker
-
- You may incorporate this sample code into your applications without
- restriction, though the sample code has been provided "AS IS" and the
- responsibility for its operation is 100% yours.
- If you're going to re-distribute the source, please make it clear
- that the code was descended from James W. Walker's code,
- but that you've made changes.
- ---------------------------------------------------------------------------------------------
- */
-
- #ifndef __TYPES__
- #include <Types.h>
- #endif
-
- OSErr Copy_each_icon(
- /* <-> */ Handle the_suite
- );
- /* ¶ This procedure makes copies of the icon handles in a suite, so that
- they will not be resource handles and will not be purgeable.
-
- the_suite input/output: the suite to be modified
-
- Result Codes
- noErr 0 No error
- memFullErr -108 iconHandle could not be duplicated
- */
-